package co2.engine;

import java.text.SimpleDateFormat;
import java.util.Date;

import javax.faces.bean.ApplicationScoped;
import javax.faces.bean.ManagedBean;

@ManagedBean(name="globalData")
@ApplicationScoped
public class GlobalData {

 
	public GlobalData(){
		
	}
	public String getCurrentTime(){
		SimpleDateFormat df = new SimpleDateFormat("MMM dd, yyyy HH:mm:ss");
		return df.format(new Date());
	}  
}
